<div class="main-wrapper">
        <!-- AddThis Button BEGIN -->
        <div class="addthis_toolbox addthis_32x32_style addthis_default_style" style="float:right;margin:10px;">
        <a class="addthis_button_facebook"></a>
        <a class="addthis_button_google"></a>
        <a class="addthis_button_twitter"></a>
        <a class="addthis_button_email" style="cursor:pointer"></a>
        </div>
        <script type="text/javascript">
        var addthis_config = {
             ui_language: "es"
        }
        </script>
        
        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c5745e832b4b433"></script>
        <!-- AddThis Button END -->                                    
	<div class="clearfix" style='margin:20px;'></div>
</div>

	<div class="prefooter main-wrapper clearfix"></div>
	<footer id="site-footer">

		<div class="footer main-wrapper clearfix">
			<ul class="xoxo" style='width:480px;'>
				<li id="text-2" class="widget-container widget_text">
					<?php
						$Destacados = obtiene_destacados(0,3);
					?>
					<h3 class="widget-title"><span>Lo más</span> Destacado</h3>
					<div class="textwidget" style='max-width:440px;'>
						<?php $pub='';?>
						<?php foreach($Destacados as $pub){?>
							<div >
								<a href="<?php echo $pub['href'];?>" title='...seguir leyendo...' class='destacado_footer' style='color:#F66D00;'>
								<?php echo $pub['titulo'];?></a>
								<p style='text-align:justify;margin-top:0px;line-height:18px;font-size:11px;'>
									<?php echo substr(stripslashes($pub['copete']),0,250);?>
								</p>
							</div>	
							<div class="clearfix" style='margin:5px;'></div>
							
						<?php } ?>
					</div>
				</li>					
			</ul>
			

			<ul class="xoxo">
				
				<li id="envoosocial-2" class="widget-container EnvooSocial">
					<h3 class="widget-title"><span>Redes</span> Sociales</h3>
					<ul class="xoxo blogroll">
						<?php if(!empty($RedesSociales)){ ?>
							<?php foreach($RedesSociales as $clave=>$redes){?>
								<li><a class="social-<?php echo $clave;?>" href="<?php echo $redes['url'];?>" target='_blank'>
									<?php echo $redes['nombre'];?></a></li>
							<?php } //endforeach ?>
						<?php } //endif ?>
					</ul>
						<br><br>
						<br />Celular: <?php echo $DatosEmpresa['telefono'];?>
						<br />email: <?php echo $DatosEmpresa['email'];?>
					
				</li>
			</ul>

			<ul class="xoxo">
				<?php
					//----------------------------------------------------------------------
					//                                      Listado de Enlaces
					//----------------------------------------------------------------------
					$sql = "select * from enlaces order by orden ASC";
					$rs  = $db->Execute($sql);
					$Enlaces = $rs->GetRows();
					if($Enlaces){
				?>
				<li id="nav_menu-2" class="widget-container widget_nav_menu">
					<h3 class="widget-title"><span>Enlaces</span> de Interés</h3>
					<div class="menu-usefull-links-container">
						<ul id="menu-usefull-links" class="menu">
							<?php foreach ($Enlaces as $enlace){?>
							<li id="menu-item-<?php echo $enlace['id'];?>" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-<?php echo $enlace['id'];?>">
								<a href="<?php echo $enlace['href'];?>" target='_blank' title='<?php echo $enlace['descripcion'];?>'><?php echo $enlace['titulo'];?></a>
							</li>
							<?php } //endforeach ?>
						</ul>
					</div>
				</li>
				<?php
					} // endif $Enlaces
				?>
			</ul>
		</div> <!-- class="footer main-wrapper clearfix" -->

		<!-- START Copyright footer -->
		<div class="social">
			<div class="main-wrapper">
				<div style="text-align:center">
					<div class="copyright">copyright (c) <?php echo $DatosEmpresa['nombre_empresa'];?></div>
				</div>
				<div style="text-align:center">
					<div class="credentials">
					Diseño Web <a href='http://www.FernandoDolci.com.ar' title='http://www.FernandoDolci.com.ar' target='_blank'>Fernando Dolci</a>
					</div>
				</div>
			</div>
		</div>

	</footer>  
<?php echo $Google['analytics'];?>
</body>
</html>